<template>
	<view class="title">
		<h2>{{ msg }}</h2>
	</view>
</template>

<script>
export default {
	name: 'Title',
	data() {
		return {
			msg: 'title'
		};
	},
	mounted() {
		console.log(this.$store.state.age);
	}
};
</script>

<style lang="scss"></style>
